package com.uuah.server.transport.provider.mina;

public class MinaProperties {
	public static final String MINA_PROTOCOL_PREFEX = "mina";
	public static final String MINA_PROPERTY_PREFEX = "MINA_";
	public static final int INT_VALUE_NOT_SET = -1;
	public static final int DEFAULT_SOCKET_TIMEOUT = INT_VALUE_NOT_SET;
	public static final int DEFAULT_BUFFER_SIZE = INT_VALUE_NOT_SET;
	public static final int DEFAULT_BACKLOG = INT_VALUE_NOT_SET;
	public static final int DEFAULT_RECEIVE_BUFFER_SIZE = 1024;
	public static final int DEFAULT_SEND_BUFFER_SIZE = 1024;

	public static final String SEND_OPEN_CLOSE_EVENTS_PROPERY = "sendOpenCloseEvents";
	public static final String SEND_IDLE_EVENTS_PROPERY = "sendIdleEvents";
	public static final String READER_IDLE_TIMEOUT_PROPERTY = "readerIdleTimeOut";
	public static final String WRITER_IDLE_TIMEOUT_PROPERTY = "writerIdleTimeOut";
	public static final String BOTH_IDLE_TIMEOUT_PROPERTY = "bothIdleTimeOut";
	public static final String WAIT_FOR_SYNCHRONOUS_RESPONSE_PROPERTY = "waitForSynchronousResponse";
	public static final String MINA_SESSION_ID_PROPERTY = MINA_PROPERTY_PREFEX
			+ "SESSION_ID";
	public static final String LAST_MESSAGE_RECEIVED_ATTRIBUTE = MINA_PROPERTY_PREFEX
			+ "UUAH_LAST_MESSAGE_RECEIVED";
	public static final String IGNORE_SYNCH_RESPONSE_PROPERTY = MINA_PROPERTY_PREFEX
			+ "IGNORE_SYNCH_RESPONSE";
	public static final String MINA_MULTICAST_SESSION_IDS_PROPERTY = MINA_PROPERTY_PREFEX
			+ "MULTICAST_SESSION_IDS";
	public static final String MINA_SESSION_APP_PROPERTY = MINA_PROPERTY_PREFEX
			+ "SESSION_APP_PROPERTY";
	public static final String MINA_SESSION_ROLE_PROPERTY = MINA_PROPERTY_PREFEX
			+ "SESSION_ROLE_PROPERTY";

	public static final long MINA_SESSION_ID_NOT_SET = -1;
}
